﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Practices.Unity;
using Triunfadores.BusinessEntities;
using Triunfadores.BusinessLogic.Service;
using Triunfadores.Repository.Service;

namespace Triunfadores.BusinessLogic
{
    public class UbigeoService:IUbigeoService
    {
        [Dependency]
        public IUbigeoRepository UbigeoRepository { get; set; }

        public IEnumerable<Ubigeo> GetAllUbigeos()
        {
            return UbigeoRepository.GetAllUbigeos();
        }
    }
}
